package com.graduation.vaccine.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.graduation.vaccine.pojo.VaccinatedInfo;
import com.graduation.vaccine.vo.AddFamilyVo;
import com.graduation.vaccine.vo.RespBean;
import com.graduation.vaccine.vo.UpdateVaccinatednVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZhaoJunYao
 * @since 2022-04-22
 */
public interface VaccinatedInfoService extends IService<VaccinatedInfo> {

    /**
     * 根据手机号得到家人列表
     * @param phone
     * @return
     */
    RespBean getFamily(String phone);

    /**
     * 添加家人
     * @param addFamilyVo
     * @return
     */
    RespBean addFamily(AddFamilyVo addFamilyVo);

    /**
     * 修改接种人信息
     * @param updateVaccinatednVo
     * @return
     */
    RespBean updateVaccinatedInfo(UpdateVaccinatednVo updateVaccinatednVo);
}
